import os
import sys
project_path = os.path.abspath(os.path.dirname(__file__))
sys.path.append(r"%s" % project_path)

from crawler_core.init.crawler_init import CrawlerInit
from lib.req.request_server import RequestServer

if __name__ == '__main__':
    CrawlerInit.start(CrawlerInit.SERVER_LOGIN)
    RequestServer.start("127.0.0.1", 8901)